//
//  AppDelegate.swift
//  weibotet
//
//  Created by admin on 16-2-24.
//  Copyright (c) 2016年 Wind. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        //创建窗口
       window = UIWindow(frame: UIScreen.mainScreen().bounds)
         let tabBarVC = CZMainViewController()
                
        //设置根控制器
        window?.rootViewController = tabBarVC
        
       //设置窗口为主窗口
        
        window?.makeKeyAndVisible()
        
        return true
    }

   
}

